<?php
function welcome() {
?>
<?php 
require_once 'common.php';
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="CContent">
	<tr>
		<th class="CTitle"><?php echo $blogInfo['BlogName'];?></th>
	</tr>
	<tr>
		<td class="CPanel">
			<div id="updateInfo" style="background:ffffe1;border:1px solid #89441f;padding:4px;display:none"></div>
			<script>
				var CVersion="<?php echo SYUEBLOG_VERSION;?>";
				var CDate="<%=blog_UpdateDate%>";
			</script>
<!--			<script src="update.js"></script>-->
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
				<tr>
					<td valign="top" style="padding:5px;width:140px">
						<img src="images/Control/Icon/ControlPanel.png"/>
					</td>
					<td valign="top">
						<div align="left" style="padding:5px;line-height:170%;clear:both;font-size:12px">
							<b>当前软件版本:</b> SyueBlog v<?php echo SYUEBLOG_VERSION;?><br/>
							<b>软件更新日期:</b> <%=DateToStr(blog_UpdateDate,"mdy")%><br/>
							<b>日志数量:</b> <?php echo $blogInfo['BlogLogNums'];?> 篇<br/>
							<b>评论数量:</b> <?php echo $blogInfo['BlogComentNums'];?> 个<br/>
							<b>留言数量:</b> <?php echo $blogInfo['BlogBookNums'];?>  个<br/>
							<b>访问次数:</b> <?php echo $blogInfo['BlogVisitNums'];?> 次<br/>
						</div>    
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<?php 
}
?>